﻿<Window xmlns:my="clr-namespace:MovieBuddy.Controls"  x:Class="MovieBuddy.Dialogs.MediaPlayerSetup"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Set Up Media Players" Height="222" Width="346" Icon="/MovieBuddy;component/resources/movieBuddy.png">
    <StackPanel>
        <TextBox BorderThickness="0" IsReadOnly="True" TextWrapping="Wrap">
            Movie Buddy might know how to take advantage of features of media player.  Hence it is helpful to tell 
            it where your media players are.  If you don't do this then Movie Buddy will use Windows to open media files.
        </TextBox>
        <Separator/>
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="28"/>
                <RowDefinition Height="28"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="50"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <Label Grid.Row="0" Grid.Column="0" Content="VLC:" />
            <my:FilePicker Grid.Row="0" Grid.Column="1" x:Name="vlcPicker" Margin="0,0,5,0" />
            <Label Grid.Row="1" Grid.Column="0" Content="Files:"/>
            <TextBox Name="vlcFiles" Grid.Row="1" Grid.Column="1" Margin="0,0,5,0" ToolTip="For instance: *.mov; *.iso; *.*" />
        </Grid>
        <Separator/>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,10,5,0">
            <Button Name="Cancel" Content="Cancel" Height="23" Width="75" Click="CancelPressed"/>
            <Button Name="Save" Content="Save" Height="23" Width="75" Margin="10,0,0,0" Click="SavePressed"/>
        </StackPanel>
    </StackPanel>
</Window>
